@import "https://unpkg.com/transition-style";

article {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16vmin, 1fr));
  gap: 2ch;
  margin-bottom: 4ch;
}

.demo {
  background: hsl(var(--hue, 320) 100% 54%);
  color: white;
  border-radius: 2ch;
  padding: 2ch;
  min-block-size: 15vmin;
  display: grid;
  place-content: center;
  word-break: break-word;
}

h1 {
  font-size: 10vmin;
  font-weight: 900;
  margin: 0;
  text-shadow: 0 1px 1px hsl(0 0% 0% / 20%);
}

a {
  color: hsl(328deg 100% 54%);
}

html {
  block-size: 100%;
  inline-size: 100%;
}

body {
  min-block-size: 100%;
  min-inline-size: 100%;
  margin: 0;
  padding: 2ch;
  box-sizing: border-box;
  font-family: system-ui;
}